package org.locker.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.locker.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;

/**
 * 订单统计对象 lk_order_statistics
 *
 * @author winnie
 * @date 2024-04-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("lk_order_statistics")
public class OrderStatistics extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 场地ID
     */
    private Long positionId;
    /**
     * 设备编号
     */
    private String deviceNo;

    /**
     * 场地名称
     */
    private String name;

    /**
     * 日期
     */
    private Date dateTag;

    /**
     * 订单数量
     */
    private Long count;

    /**
     * 订单收益
     */
    private BigDecimal income;
    /**
     * 订单统计收益
     */
    private BigDecimal statisticsIncome;

    /**
     * 当日统计单价
     */
    private BigDecimal statisticsPrice;


}
